package com.tlgen.logging.service.dto;

import com.tlgen.common.annotation.EnableTlgenQuery;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author: tlgen
 * @Discription: 日志查询类
 */
@Data
public class LogQueryCriteria {

    /**
     * 模糊查询
     */
    @EnableTlgenQuery(blurry = "username, description, address, requestIp, params")
    private String blurry;

    @EnableTlgenQuery
    private String logType;

    @EnableTlgenQuery(type = EnableTlgenQuery.Type.BETWEEN)
    private List<Timestamp> createTime;
}
